Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic auth filter new #2241

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

crasu
Copy link

@crasu crasu commented Mar 25, 2023

Just rebased this again to update to the current rolling version.

This is just a kind heads up to let people know there is some option to run ai on the edge with basic authentification. You may close this pr without comment.

Btw: Running this now for several month without issues.

@nima-1102
Copy link

+1 I would also prefer to add at least basic authentication.

@@ -57,7 +57,6 @@ build_flags =
${flags:runtime.build_flags}
; ### Sofware options : (can be set in defines.h)
-D ENABLE_MQTT
-D ENABLE_INFLUXDB
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this needed?

@@ -157,8 +180,8 @@ int LoadWlanFromFile(std::string fn)
#endif
}

/* read next line */
if (fgets(zw, sizeof(zw), pFile) == NULL) {
if (fgets(zw, 1024, pFile) == NULL)
Copy link

@ThomasCr ThomasCr May 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not sizeof(zw) - sounds better for me....

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Especially with char zw[256]; above

@caco3 caco3 added the won't do Out of scope for this project label Aug 26, 2024
… not updating the value is a good idea as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
won't do Out of scope for this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants